package com.children.growth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 儿童成长记录平台主启动类
 *
 * @author children
 * @since 1.0.0
 */
@SpringBootApplication
@MapperScan(basePackages = "com.children.growth.mapper")
@EnableAsync
@EnableScheduling
public class GrowthPlatformApplication {

    public static void main(String[] args) {
        SpringApplication.run(GrowthPlatformApplication.class, args);
        System.out.println("儿童成长记录平台启动成功！");
    }
}

